/* 首页特定样式 */

/* 首页内容区域 */
.home-content {
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("../assets/bg-top-red.png"), url("../assets/bg-bottom-red.png");
    background-position: left top, right bottom;
    /* 分别控制位置 */
    background-repeat: no-repeat, repeat-x;
    /* 分别控制重复方式 */
    background-size: auto, auto;
}

.home-content .bar {
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.4)
}

.home-content-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

/* 单位概况和工作动态区域 */
.overview-section {
    width: 75%;
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
    height: 360px;
    overflow: hidden;
}

#overview-unit {
    display: flex;
    width: 100%;
    overflow: hidden;

}
#work-dynamic-content, #overview-content {
    display: flex;
    width: 100%;
    overflow: auto; 
}

.overview-left {
    width: 480px;
    height: 480px;
}

.overview-right {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overview-left {
    width: 480px;
    border-radius: 8px;
    overflow: hidden;
}

.overview-image {
    width: 480px;
    height: 360px;
    overflow: hidden;
}

.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overview-text {
    text-indent: 2em;
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.work-dynamic {
    flex: 1;
    border-radius: 8px;
    padding: 15px;
    padding-top: 0;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    position: relative;
}
.research-cases .section-title .more {
    right: 0;
}
.online-exhibition .section-title .more {
    right: 70px;
}

.section-title .more {
    position: absolute;
    right: 0px;
    bottom: 10px;
    font-size: 14px;
    font-weight: normal;
    color: #BD1A2D;
    display: flex;
    align-items: center;
    cursor: pointer;
    img {
        width: 16px;
        margin-left:6px;
    }
}

.platform-row {
    width: 100%;
    display:flex;
    align-items: center;
    justify-content: center;
	gap:20px;
}


.section-title-pre {
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    padding-right: 15px;
    padding-left: 15px;
    cursor: pointer;
    position: relative;
    margin-right: 30px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.section-title-last {
    font-size: 24px;
    border-bottom: 5px solid #BD1A2D;

}

.section-title-last i {
    color: #BD1A2D;

    font-style: normal;
}

.section-title-pre.active {
    color: #D61618;
    font-weight: bold;
}

.section-title-pre.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #D61618;
    border-radius: 3px;
}

.tab-container {
    height: 360px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.tab-content {
    height: calc(100% - 50px);
    padding: 10px 0;
    overflow: auto;
}

.dynamic-list {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dynamic-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dynamic-item:hover {
    background-color: #f9f9f9;
}

.dynamic-item .title {
    flex: 1;
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dynamic-item .date {
    color: #999;
    font-size: 16px;
    margin-left: 15px;
    white-space: nowrap;
}

/* 主题教育横幅 */
.theme-education {
    width: 75%;
    margin-bottom: 30px;
}

.theme-education img {
    width: 100%;
    height: auto;
}

/* 法规标准和通知公告 */
.regulations-notices {
    width: 75%;
    display: flex;
    gap: 20px;
}

.regulations,
.notices {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    overflow: hidden;
}

.regulations-list,
.notices-list {
    list-style: none;
}

.regulations-item,
.notices-item {
    padding: 3px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.regulations-item:last-child,
.notices-item:last-child {
    border-bottom: none;
}

.date-range {
    display: flex;
    align-items: center;
    flex-direction: column;

}

.date-range .date-range-first {
    font-size: 24px;
    font-weight: bold;
    color: #D61618;
    margin-bottom: 5px;
}

.regulations-item .title,
.notices-item .title {
    flex: 1;
    margin-right: 10px;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}

.regulations-item .date,
.notices-item .date {
    color: #999;
    font-size: 14px;
}

.quick-access-container {
    width: 100%;
    display: flex;
    padding: 10px 0;
    flex-direction: column;
    align-items: center;
    background-image: url('../assets/bg-transparent.png');
    background-size: cover;
}

/* 快捷入口 */
.quick-access {
    width: 75%;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.access-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    background-color: #F7E7D7;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    color: #F7E7D7;
    font-size: 24px;
    transition: all 0.3s ease;
}



.access-item img {
    width: 66px;
    margin-right: 15px;
}

.access-item p {
    color: #333;
    font-weight: bold;
}

/* 平台链接 */
.platform-links {
    
	width:75%;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.platform-row a {
	display:inline-block;
	width:100%
}

.platform-item-1 {
    width:100%;
    height: 110px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    background-image: url('../assets/b-1.png');
    background-size: 100% 100%;
}

.platform-item-2 {
    width:100%;
    height: 110px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    background-image: url('../assets/b-2.png');
    background-size: 100% 100%;
}

.platform-item-3 {
    width:100%;
    height: 110px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    background-image: url('../assets/b-3.png');
    background-size: 100% 100%;
}

.platform-item-4 {
    width:100%;
    height: 110px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    background-image: url('../assets/b-4.png');
    background-size: 100% 100%;
    margin-right: 20px;
}

.platform-item-5 {
    width:100%;
    height: 110px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    background-image: url('../assets/b-5.png');
    background-size: 100% 100%;
}


/* 轮播图箭头样式 */
#research-content .carousel-arrows,
#cases-content .carousel-arrows,
.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    pointer-events: none;
    z-index: 99;
    box-sizing: border-box;
}
#research-content .carousel-arrows {
    top: 50%;
}
#cases-content .carousel-arrows {
    top: 50%;
}

.arrow {
    color: #D61618;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    pointer-events: all;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;

}

.arrow:hover {}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

/* 编研成果和志鉴案例 */
.research-cases {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color:#f5f4f4;
    margin-bottom: 20px;
    width: 100%;
    height: 450px;
    position: relative;
}

.research-cases .section-title {
    margin-top: 20px;
    width: 75%;
}

.research-cases .section-title::after {
    right: 150px;
}

.cases-tab-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width:  calc(75% + 150px);
    position: relative;
    height: 380px;
    overflow: hidden;
    margin-top: 0px;
}

.cases-container {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
    width: fit-content;
    min-width: 100%;
}
.research-container {
    width: 88%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}


.case-item {
    width: auto;
    flex-shrink: 0;
    height: 100%;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-title {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #333;
    background-color: #f9f9f9;
}
.unit-intro p{
    line-height: 28px;
display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;  /* 限制行数 */
  overflow: hidden;
  text-overflow: ellipsis;
  text-indent: 2em;
}
.more-text {
    color:#222;
    font-size: 16px;
    text-align: right;
}


/* 网上展厅 */
.online-exhibition {
    margin-bottom: 50px;
    position: relative;
    width: 75%;
    height: 280px;
    overflow: hidden;
}
.online-exhibition .section-title {
    margin-bottom: 30px;
}

.exhibition-container {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    width: fit-content;
    min-width: 100%;
    position: relative;
}
.exhibition-tab-content {
    width:90%;
    overflow: hidden;
    margin: 0 auto;
}

.exhibition-item {
    flex: 0 0 33%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.exhibition-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.exhibition-image {
    height: 220px;
    overflow: hidden;
}

.exhibition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.exhibition-item:hover .exhibition-image img {
    transform: scale(1.05);
}

.exhibition-title {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #333;
    background-color: #f9f9f9;
}



.daldcy-container {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    width: fit-content;
    min-width: 100%;
    position: relative;
}
.daldcy-tab-content {
    width:90%;
    overflow: hidden;
    margin: 0 auto;
}

.daldcy-item {
    flex: 0 0 33%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.daldcy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.daldcy-image {
    height: 220px;
    overflow: hidden;
}

.daldcy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.daldcy-item:hover .exhibition-image img {
    transform: scale(1.05);
}

.daldcy-title {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #333;
    background-color: #f9f9f9;
}

/* 下方信息页样式已移至common.css */

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border: 1px solid #888;
    width: 500px;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 20px;
    background-color: #BD1A2D;
    color: white;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.close-modal {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #f0f0f0;
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #BD1A2D;
}

.form-options {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me,
.agree-terms {
    font-size: 14px;
    color: #666;
}

.forgot-password {
    color: #BD1A2D;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #BD1A2D;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #a01627;
}
#page-info {
    display:flex;
    align-items: center;
}
.dynamic-list {
    width: 100%;
}
